/*     */ package com.wzh.bean.book;
/*     */ 
/*     */ import java.io.Serializable;
/*     */ import java.util.Date;
/*     */ import java.util.List;
/*     */ import javax.persistence.Column;
/*     */ import javax.persistence.Entity;
/*     */ import javax.persistence.GeneratedValue;
/*     */ import javax.persistence.Id;
/*     */ import javax.persistence.Table;
/*     */ import javax.persistence.Temporal;
/*     */ import javax.persistence.TemporalType;
/*     */ import javax.persistence.Transient;
/*     */ 
/*     */ @Entity
/*     */ @Table(name="bookinfo")
/*     */ public class BookInfo
/*     */   implements Serializable
/*     */ {
/*     */   private static final long serialVersionUID = 1L;
/*     */ 
/*     */   @Id
/*     */   @GeneratedValue
/*     */   private Integer id;
/*     */ 
/*     */   @Column(length=50)
/*     */   private String title;
/*     */ 
/*     */   @Column(columnDefinition="text")
/*     */   private String intro;
/*     */ 
/*     */   @Column(length=50)
/*     */   private String author;
/*     */ 
/*     */   @Column(length=100)
/*     */   private String imageurl;
/*  42 */   private boolean imgdowned = false;
/*     */   private Integer booktype;
/*     */ 
/*     */   @Transient
/*     */   private String typename;
/*     */ 
/*     */   @Transient
/*     */   private String typeurl;
/*     */ 
/*     */   @Column(length=100)
/*     */   private String resourceUrl;
/*     */ 
/*     */   @Temporal(TemporalType.TIMESTAMP)
/*  56 */   private Date updatetime = new Date();
/*     */ 
/*     */   @Column(length=100)
/*     */   private String lastChapter;
/*     */ 
/*     */   @Column(length=100)
/*     */   private String lastChapterUrl;
/*  67 */   private boolean isfinish = false;
/*     */   private Integer siteid;
/*  73 */   private Integer stars = Integer.valueOf(0);
/*     */ 
/*  75 */   private Integer hit = Integer.valueOf(0);
/*     */ 
/*     */   @Transient
/*     */   private String readurl;
/*     */ 
/*     */   @Transient
/*     */   private List<BookChapter> chapters;
/*     */ 
/*  85 */   public boolean isImgdowned() { return this.imgdowned; }
/*     */ 
/*     */   public void setImgdowned(boolean imgdowned) {
/*  88 */     this.imgdowned = imgdowned;
/*     */   }
/*     */   public String getTypename() {
/*  91 */     return this.typename;
/*     */   }
/*     */   public void setTypename(String typename) {
/*  94 */     this.typename = typename;
/*     */   }
/*     */   public String getTypeurl() {
/*  97 */     return this.typeurl;
/*     */   }
/*     */   public void setTypeurl(String typeurl) {
/* 100 */     this.typeurl = typeurl;
/*     */   }
/*     */   public Integer getStars() {
/* 103 */     return this.stars;
/*     */   }
/*     */   public void setStars(Integer stars) {
/* 106 */     this.stars = stars;
/*     */   }
/*     */   public Integer getHit() {
/* 109 */     return this.hit;
/*     */   }
/*     */   public void setHit(Integer hit) {
/* 112 */     this.hit = hit;
/*     */   }
/*     */   public String getReadurl() {
/* 115 */     return this.readurl;
/*     */   }
/*     */   public void setReadurl(String readurl) {
/* 118 */     this.readurl = readurl;
/*     */   }
/*     */   public Integer getSiteid() {
/* 121 */     return this.siteid;
/*     */   }
/*     */   public void setSiteid(Integer siteid) {
/* 124 */     this.siteid = siteid;
/*     */   }
/*     */   public Integer getBooktype() {
/* 127 */     return this.booktype;
/*     */   }
/*     */   public void setBooktype(Integer booktype) {
/* 130 */     this.booktype = booktype;
/*     */   }
/*     */   public List<BookChapter> getChapters() {
/* 133 */     return this.chapters;
/*     */   }
/*     */   public void setChapters(List<BookChapter> chapters) {
/* 136 */     this.chapters = chapters;
/*     */   }
/*     */   public String getResourceUrl() {
/* 139 */     return this.resourceUrl;
/*     */   }
/*     */   public void setResourceUrl(String resourceUrl) {
/* 142 */     this.resourceUrl = resourceUrl;
/*     */   }
/*     */ 
/*     */   public String getAuthor()
/*     */   {
/* 147 */     return this.author;
/*     */   }
/*     */   public void setAuthor(String author) {
/* 150 */     this.author = author;
/*     */   }
/*     */   public Date getUpdatetime() {
/* 153 */     return this.updatetime;
/*     */   }
/*     */   public void setUpdatetime(Date updatetime) {
/* 156 */     this.updatetime = updatetime;
/*     */   }
/*     */   public String getLastChapter() {
/* 159 */     return this.lastChapter;
/*     */   }
/*     */   public void setLastChapter(String lastChapter) {
/* 162 */     this.lastChapter = lastChapter;
/*     */   }
/*     */   public String getLastChapterUrl() {
/* 165 */     return this.lastChapterUrl;
/*     */   }
/*     */   public void setLastChapterUrl(String lastChapterUrl) {
/* 168 */     this.lastChapterUrl = lastChapterUrl;
/*     */   }
/*     */   public boolean isIsfinish() {
/* 171 */     return this.isfinish;
/*     */   }
/*     */   public void setIsfinish(boolean isfinish) {
/* 174 */     this.isfinish = isfinish;
/*     */   }
/*     */   public Integer getId() {
/* 177 */     return this.id;
/*     */   }
/*     */   public void setId(Integer id) {
/* 180 */     this.id = id;
/*     */   }
/*     */   public String getTitle() {
/* 183 */     return this.title;
/*     */   }
/*     */   public void setTitle(String title) {
/* 186 */     this.title = title;
/*     */   }
/*     */   public String getIntro() {
/* 189 */     return this.intro;
/*     */   }
/*     */   public void setIntro(String intro) {
/* 192 */     this.intro = intro;
/*     */   }
/*     */   public String getImageurl() {
/* 195 */     return this.imageurl;
/*     */   }
/*     */   public void setImageurl(String imageurl) {
/* 198 */     this.imageurl = imageurl;
/*     */   }
/*     */ }

/* Location:           C:\work\apache-tomcat-7.0.55\webapps\ROOT\WEB-INF\classes\
 * Qualified Name:     com.wzh.bean.book.BookInfo
 * JD-Core Version:    0.6.1
 */